package com.yiren.backstage.currency.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Describe 风控无网练车时间
 *
 * @author WRX
 * @date 2022/7/7
 */
@Entity
public class RiskNotNetTimeEntity {

    @Id
    private int userId;     //用户id(用于多账号登录一天设备)
    private long useTime;   //无网络下的使用时间

    @Generated(hash = 869419040)
    public RiskNotNetTimeEntity(int userId, long useTime) {
        this.userId = userId;
        this.useTime = useTime;
    }

    @Generated(hash = 982284080)
    public RiskNotNetTimeEntity() {
    }

    public int getUserId() {
        return this.userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public long getUseTime() {
        return this.useTime;
    }

    public void setUseTime(long useTime) {
        this.useTime = useTime;
    }

}
